﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo02
{
    class Luofei:Hero
    {
        public Luofei(string nickName, string heroName, string heroInfo, int attack, int defence, int speed)
        {
            this.NickName = nickName;
            this.HeroName = heroName;
            this.HeroInfo = heroInfo;
            this.Attack = attack;
            this.Defence = defence;
            this.Speed = speed;
        }
        public Luofei()
        {
        }

        public void JuLangChongJi()
        {
            Console.WriteLine("能量精灵");
        }
        public void YuanSuTuJi()
        {
            Console.WriteLine("暗影传送");

        }
        public void FuChouShaLu()
        {
            Console.WriteLine("时空崩裂");
        }
    }
}
